package com.design.pattern.state.service;

import com.design.pattern.state.UserRoomContext;
import com.design.pattern.state.domain.ChatRoom;
import com.design.pattern.state.domain.User;

/**
 * 房间权限状态
 */
public interface State {
    void handler(ChatRoom room, User user, UserRoomContext context);//处理房间权限
}
